{
  "type": "File",
  "start": 0,
  "end": 46,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 1,
      "column": 46
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 46,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 1,
        "column": 46
      }
    },
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start": 0,
        "end": 46,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 46
          }
        },
        "id": {
          "type": "Identifier",
          "start": 15,
          "end": 18,
          "loc": {
            "start": {
              "line": 1,
              "column": 15
            },
            "end": {
              "line": 1,
              "column": 18
            },
            "identifierName": "foo"
          },
          "name": "foo"
        },
        "generator": false,
        "async": true,
        "params": [
          {
            "type": "Identifier",
            "start": 19,
            "end": 26,
            "loc": {
              "start": {
                "line": 1,
                "column": 19
              },
              "end": {
                "line": 1,
                "column": 26
              },
              "identifierName": "promise"
            },
            "name": "promise"
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start": 28,
          "end": 46,
          "loc": {
            "start": {
              "line": 1,
              "column": 28
            },
            "end": {
              "line": 1,
              "column": 46
            }
          },
          "body": [
            {
              "type": "ExpressionStatement",
              "start": 30,
              "end": 44,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 30
                },
                "end": {
                  "line": 1,
                  "column": 44
                }
              },
              "expression": {
                "type": "AwaitExpression",
                "start": 30,
                "end": 43,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 30
                  },
                  "end": {
                    "line": 1,
                    "column": 43
                  }
                },
                "argument": {
                  "type": "Identifier",
                  "start": 36,
                  "end": 43,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 36
                    },
                    "end": {
                      "line": 1,
                      "column": 43
                    },
                    "identifierName": "promise"
                  },
                  "name": "promise"
                }
              }
            }
          ],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}